package com.payment.ktb.activity.main1;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.payment.ktb.R;
import com.payment.ktb.activity.BaseActivity;
import com.payment.ktb.activity.MainActivity;
import com.payment.ktb.constants.ConstantsPay;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by syd on 2016/6/12.
 */
public class NocardOrderResultSuccessActivity extends BaseActivity {


    @BindView(R.id.tv_nocardorderresultsuccess_amount)
    TextView tv_nocardorderresultsuccess_amount;
    @BindView(R.id.tv_nocardorderresultsuccess_time)
    TextView tv_nocardorderresultsuccess_time;
    @BindView(R.id.tv_nocardorderresultsuccess_orderno)
    TextView tv_nocardorderresultsuccess_orderno;




    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_nocardorderresultsuccess);
        ButterKnife.bind(this);
        hideTitleBack();
        initData();
        initTitle("支付结果");
    }


    /**
     *
     */
    private void initData() {

        tv_nocardorderresultsuccess_amount.setText(ConstantsPay.amount);
        tv_nocardorderresultsuccess_time.setText(ConstantsPay.orderTime);
        tv_nocardorderresultsuccess_orderno.setText(ConstantsPay.orderNo);
    }





    @OnClick(R.id.btn_nocardorderresultsuccess_back)
    public void clickEvent(View view) {
        startActivity(MainActivity.class);
    }


}
